/**
 * @Author: 孙小寒
 * @Date: 2020-12-23
 * @Last Modified by: sunxh
 * @Last Modified time: 2020-12-23 14:38
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';


// 列表查询
export const getDealerMatterFeedbackList = params => axios.get(`${SERVER.CMSCLOUD_WMS}/oa/dealerMatterFeedback`, {params})
// ID获取表单详情
export const getDealerMatterFeedbackById = id => axios.get(`${SERVER.CMSCLOUD_WMS}/oa/dealerMatterFeedback/${id}`)
// 保存
export const postSaveDealerMatterFeedback = params => axios.post(`${SERVER.CMSCLOUD_WMS}/oa/dealerMatterFeedback`, params)
// 根据ids批量更新启用标志
export const postUpdateStatusByIds = params => axios.post(`${SERVER.CMSCLOUD_WMS}/oa/dealerMatterFeedback/updateStatusByIds/${params.status}`, params.ids)
// 修改
export const putDealerMatterFeedback = params => axios.put(`${SERVER.CMSCLOUD_WMS}/oa/dealerMatterFeedback`, params);
// 获取当前经销商详情信息
export const getCurrentDealerInfo = () => axios.get(`${SERVER.CMSCLOUD_WMS}/commons/getCurrentDealerInfo`)
